Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODShape


GetPlatformShape

The GetPlatformShape method returns a graphics-system-specific data structure representing this shape.

ODPlatformShape GetPlatformShape (
                     in ODGraphicsSystem graphicsSystem);
graphicsSystem
A 16-bit value specifying the graphics system you want to use for this shape. Valid graphics systems are platform dependent.
return value
A 32-bit value identifying the requested graphics-system-specific shape. Before using the return value, you must cast it to a valid graphics system type (such as RgnHandle for QuickDraw or gxShape for QuickDraw GX).
DISCUSSION
The type of the returned value depends on the specified graphics system. On the Mac OS platform, the graphics system may be either QuickDraw (kODQuickDraw) or QuickDraw GX (kODQuickDrawGX).

EXCEPTIONS
kODErrInvalidGraphicsSystem
This implementation of OpenDoc does not support the specified graphics system, or that graphics system is not installed or available.
SEE ALSO
The ODGraphicsSystem type (page 883).
The ODShape::SetPlatformShape method (page 650).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help